package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;
import org.springframework.stereotype.Component;

import java.util.List;
@Component("departmentMapper")
public interface DepartmentMapper {
    void deleteByPrimaryKey(Long id);

    void insert(Department record);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    void updateByPrimaryKey(Department record);




    List<Department> selectForList(QueryObject qo);
}